package com.shixun.milktea.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zrs
 * @since 2022-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_swiper")
@ApiModel(value="轮播图对象", description="")
public class Swiper implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "轮播图id")
    @TableId(value = "swiper_id", type = IdType.AUTO)
    private Integer swiperId;

    @ApiModelProperty(value = "轮播图名字")
    private String swiperName;

    @ApiModelProperty(value = "轮播图图片")
    private String swiperImg;

    @ApiModelProperty(value = "轮播图状态: 1上架；0下架")
    private Integer swiperStatus;


}
